--[[

ShortLayout Config File

Author : simonw
From CWDG http://bbs.cwowaddon.com/thread-1193-1-1.html

完成参数列表:
N : number from 1 to n.
ShortLayout.Config[N] = {Frame = "...Button", Hide = true, SetFrameStrata = "...", SetScale = ..., SetMovable = true, SetPoint = {...}, Function = ...},

通用参数说明:
Class: 职业名称
Character: 角色名称, 当职业与角色名称都省略时默认为全局有效, 若有职业则载入职业配置, 若有角色则载入角色配置. 依赖配置顺序载入因此需要保证全局配置最前, 职业配置其次, 角色配置最后, 如果冲突后面的配置会覆盖前面的配置.
Resolution: 分辨率列表, 匹配与当前分辨率一致的配置项.
UIScale: UI缩放范围, 匹配与当前UI缩放设置一致的配置项.
AutoAdjust: 自动在不同缩放设置下调节位置的开关.默认为关.
以上配置参数默认则为忽略.

ShortLayout自定义参数:
Frame: 窗体名称, 可以使用[m-n]这样的形式表示多个窗体.
Function: 自定义处理窗体函数, 实现自己的处理逻辑, 会传入一个frame参数代表当前窗体.
Hide: 真假值, 为真时强制隐藏窗体, 隐藏后无法被显示.
cSetMovable: 真假值, 为真时窗体可移动, ctrl+alt+鼠标左键可拖动.


常用公共参数例举:
Hide: 真假值, 为真时隐藏窗体.
SetMovable: 真假值, 为真时窗体可移动.
SetFrameStrata: 窗体层次, 取值TOOLTIP,FULLSCREEN_DIALOG,FULLSCREEN,DIALOG,HIGH,MEDIUM,LOW,BACKGROUND 依次由高到低
SetScale: 数字, 大小缩放.
SetPoint: 数组, 窗体位置, 参数依次为 ("point","relativeFrame" or relativeObject,"relativePoint"[, xOfs, yOfs])
更多常用参数参考: http://www.wowwiki.com/Widget_API
]]

ShortLayout.Config[1] = {
	--Class = "牧师",
	--Character = "民族英雄",
	--Resolution = {"800x600", "1024x768"},
	--UISetScale = {0.5, 1},
	--AutoAdjust = true,
	--[[{Frame = "MainMenuMaxLevelBar[0-3]", Hide = true},
	{Frame = "MainMenuBarTexture[0-3]", Hide = true},
	{Frame = "BonusActionBarTexture[0-1]", Hide = true},
	{Frame = "SlidingActionBarTexture[0-1]", Hide = true},
	{Frame = "ShapeshiftBarLeft", cHide = true},
	{Frame = "ShapeshiftBarMiddle", cHide = true},
	{Frame = "ShapeshiftBarRight", cHide = true},
	{Frame = "MainMenuBarLeftEndCap", Hide = true},
	{Frame = "MainMenuBarRightEndCap", Hide = true},
	{Frame = "ExhaustionTick", Hide = true},
	{Frame = "MainMenuBarMaxLevelBar", Hide = true},
	{Frame = "MainMenuExpBar", Hide = true},
	{Frame = "ReputationWatchBar", Hide = true},
	{Frame = "MainMenuBarPerformanceBarFrame", Hide = true},
	{Frame = "CharacterMicroButton", Hide = true},
	{Frame = "SpellbookMicroButton", Hide = true},
	{Frame = "TalentMicroButton", Hide = true},
	{Frame = "QuestLogMicroButton", Hide = true},
	{Frame = "SocialsMicroButton", Hide = true},
	{Frame = "LFGMicroButton", Hide = true},
	{Frame = "MainMenuMicroButton", Hide = true},
	{Frame = "HelpMicroButton", Hide = true},
	{Frame = "KeyRingButton", Hide = true},
	{Frame = "CharacterBag[0-3]Slot", Hide = true},
	{Frame = "MainMenuBarBackpackButton", Hide = true},

	{Frame = "ActionBarUpButton", SetPoint = {"TOPLEFT", ActionButton12, "RIGHT", 0, 24}, SetScale = 0.8},
	{Frame = "ActionBarDownButton", SetPoint = {"TOPLEFT", ActionButton12, "RIGHT", 0, 5}, SetScale = 0.8},
	{Frame = "MainMenuBarPageNumber", SetPoint = {"TOPLEFT", ActionButton12, "RIGHT", 20, 8}},
	{Frame = "MultiBarBottomLeft", SetPoint = {"BOTTOMLEFT", ActionButton1, "TOPLEFT", 0, 3}, SetScale = 0.8},
	{Frame = "MultiBarBottomRight", SetPoint = {"TOPLEFT", MultiBarBottomLeft, "LEFT", 0, 60}, SetScale = 0.8},
	{Frame = "CastingBarFrame", SetPoint = {"CENTER", MultiBarBottomRight, "TOP", 0, 20}},

	{Frame = "PetActionButton1", SetPoint = {"BOTTOMLEFT", MultiBarBottomRight, "TOP", -122, 5}, cSetMovable = true},
	{Frame = "BonusActionButton1", SetPoint = {"TOPLEFT", ActionButton1, "LEFT", 0, 17}, cSetMovable = true},
	{Frame = "ShapeshiftButton1", SetPoint = {"TOPLEFT", MultiBarBottomLeft, "LEFT", -150, 55}, cSetMovable = true},

	{Frame = "ContainerFrame[1-13]", SetFrameStrata = "HIGH"},
	{Frame = "ActionButton[1-12]", SetScale = 0.8},
	{Frame = "ShapeshiftButton[1-10]", SetScale = 0.8},
	{Frame = "BonusActionButton[1-12]", SetScale = 0.8},
	{Frame = "PetActionButton[1-10]", SetScale = 0.8},
	{Frame = "ActionButton1", SetPoint = {"TOPLEFT", MainMenuBar, "LEFT", 450, 10}, SetAlpha = 0.5, cSetMovable = true},]]
	--{Frame = "BuffButton1", SetPoint = {"TOPLEFT", UIParent, "LEFT", 450, -10}, SetMovable = true},
	--{Frame = "OmenAnchor", SetPoint = {"TOPLEFT", UIParent, "BOTTOMLEFT", -17, 450}, SetMovable =true},
	--{Frame = "MinimapButtonFrame", SetPoint = {"TOPRIGHT", UIParent, "TOPRIGHT", -220, -120}, SetMovable =true},
	--{Frame = "TimerLibPositionFrame1", SetPoint = {"BOTTOMLEFT", UIParent, "BOTTOMLEFT", 200, 800}, SetMovable =true},
}

ShortLayout.Config[2] = {
	Class = "x牧师",
	--{Frame = "MainMenuBarPerformanceBarFrame", SetPoint = {"TOPLEFT", MinimapZoneTextButton, "TOPLEFT", -15, 22}, SetScale = 0.6},
	--{Frame = "BuffButton1", SetPoint = {"TOPLEFT", UIParent, "LEFT", 450, -10}, SetMovable = true},
	--{Frame = "MultiBarBottomRight", SetPoint = {"BOTTOMLEFT", ActionButton1, "TOPLEFT", 0, 3}, SetScale = 0.8},
	--{Frame = "MultiBarBottomLeft", SetPoint = {"BOTTOM", MultiBarBottomRight, "TOP", 0, 3}, SetScale = 0.8},
	--{Frame = "MainMenuBarPerformanceBarFrame", Hide = true},
	--{Frame = "KeyRingButton", Hide = true},
	--{Frame = "HelpMicroButton", Hide = true},
	{Frame = "ShapeshiftBarLeft", SetPoint = {"CENTER", MultiBarBottomRight, "TOP", 0, 20}, Hide = false},
	--{Frame = "BonusActionButton1", SetPoint = {"TOPLEFT", ActionButton1, "LEFT", 0, 17}, cSetMovable = true, SetScale = 0.8},
}